﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DevComponents.DotNetBar;

namespace BWClient
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            bool bIscreateNew;
            using (System.Threading.Mutex m = new System.Threading.Mutex(true, Application.ProductName, out bIscreateNew))
            {
                if (bIscreateNew)
                {
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(false);
                    Application.Run(new ShowStatus());
                }
                else
                {
                    //MessageBox.Show("当前已打开软件，请勿重复运行!");
                }
            }
        }
    }
}
